﻿namespace Traffic.Entity;

/// <summary>
/// 会员等级表
/// </summary>
public partial class MemberLevel
{
    public int Id { get; set; }

    /// <summary>
    /// 会员级别名称
    /// </summary>
    public string LevelName { get; set; } = null!;

    /// <summary>
    /// 会员功能介绍
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 成功会员价格
    /// </summary>
    public decimal Price { get; set; }

    /// <summary>
    /// 优惠额
    /// </summary>
    public decimal Discount { get; set; }

    /// <summary>
    /// 是否开启优惠
    /// </summary>
    public bool UseDiscount { get; set; }

    /// <summary>
    /// 充值一次成为会员的时长（年）
    /// </summary>
    public int VipYears { get; set; }

    /// <summary>
    /// 赠送（年）
    /// </summary>
    public int GivenYears { get; set; }

    /// <summary>
    /// 赠送（月）
    /// </summary>
    public int? GivenMonths { get; set; }

    /// <summary>
    /// 赠送（天）
    /// </summary>
    public int GivenDays { get; set; }

    /// <summary>
    /// 是否充值赠送时长
    /// </summary>
    public bool UseGiven { get; set; }

    /// <summary>
    /// 级别使用状态   默认1：正常  0：停用
    /// </summary>
    public bool Status { get; set; }
}
